import {Tools} from 'weaver-mobile';

export const doUpdateSign = params => {
    return Tools.callApi({
        url:'/api/odoc/signInputUpdate/doUpdateSign',
        method:'POST',
        params
    })
}

//签字意见框配置信息
export const getSignInput = (params) => {
    return Tools.callApi({
        url:'/api/workflow/reqform/signInput',
        method:'POST',
        params
    });
}

//签字意见sessionkey
export const getSignLogSessionkey = (params) => {
    return Tools.callApi({
        url:'/api/odoc/signInputUpdate/getSignLogSessionkey',
        method:'POST',
        params
    });
}

/**
 * 删除签字意见
 * @param params
 * @returns {*}
 */
export const doDeleteSign = (params) => {
    return Tools.callApi({
        url:'/api/odoc/signInputUpdate/doDeleteSign',
        method:'POST',
        params
    });
}